package com.ycq.webssm.srevice.impl;

import com.ycq.webssm.dao.UserInfoDao;
import com.ycq.webssm.domain.UserInfo;
import com.ycq.webssm.srevice.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: UserInfoServiceImpl
 * @Author: ycq
 * @Description:
 * @Date: 2021/8/10 16:45
 * @Company:浪潮软件集团
 **/
@Service
public class UserInfoServiceImpl implements UserInfoService {

    @Autowired
    UserInfoDao userInfoDao;

    @Override
    public List<UserInfo> getUserInfo() throws Exception {

        List<UserInfo> userInfos = userInfoDao.queryUserInfos();

        return userInfos;
    }
}
